package org.example.salesystem.mapper;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegisterMapper {
  //查询是否有重复电话，用户名，邮箱
   //(普通用户）
    Integer checkUserName(String userName);
    Integer checkEmail(String email);
    Integer checkPhoneNumber(String phonenumber);
    int register(String username, String  name,String  password,int age,Integer resource, Integer state, String phonenumber, String email, String address);

}
